taskStatusCode

Class: com.microstrategy.web.app.taglibs.taskproc.StatusCodeTag

Usage:

This tag is used exclusively in the definition of a TASK ENVELOPE. When invoked it returns the Status code associated with the Task. Without any attributes specified, the numeric status code is simply returned. The attributes can be used to format the status code in the envelope.

Name Required? Description
attrName false Specifies an XML attribute name to use when formatting the status code into an XML document. When specified, it will generate the following:
attrName="STATUS_CODE"
In the special case that the attribute name is "HTTP_HEADER" then the status code is set as the HTTP Status Code. In this case, an error message is also set as a HTTP Header (X-MSTR-TaskFailureMsg) as is the error code (X-MSTR-TaskErrorCode).